home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / parasite-x.swf / scripts / frame_43 / PlaceObject2_95_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2011-10-17  |  454b  |  26 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.gamepaused == 0)
  3.    {
  4.       this._y += this.speed1;
  5.    }
  6.    if(this.hitTest(_root.badhit))
  7.    {
  8.       this.reset();
  9.       _root.lives -= 1;
  10.       _root.hurt = 1.3;
  11.    }
  12.    if(this.hitTest(_root.Test))
  13.    {
  14.       this.play();
  15.       _root.combobox.gotoAndPlay(1);
  16.    }
  17.    if(this.hitTest(_root.Test2))
  18.    {
  19.       this.play();
  20.    }
  21.    if(this.hitTest(_root.bomb))
  22.    {
  23.       this.play();
  24.    }
  25. }
  26.